﻿@model Books.Models.BookViewModel
@{
    ViewBag.Title = "Create";
}
<div class="container">
    <h2>Create</h2>

    <div class="well-lg">
        @using (Html.BeginForm())
        {
            <div> Title <br /> @Html.TextBoxFor(m => m.Title) @Html.ValidationMessageFor(m => m.Title) </div>
            <div> Author <br /> @Html.TextBoxFor(m => m.Author) @Html.ValidationMessageFor(m => m.Title) </div>
            <div> Poster <br /> @Html.TextBoxFor(m => m.BookImage) @Html.ValidationMessageFor(m => m.BookImage) </div>
            <div> Rating <br /> @Html.TextBoxFor(m => m.Rating) @Html.ValidationMessageFor(m => m.Rating) </div>
            <div> <input type="submit" value="Created" /> </div>
        }
    </div>
</div>